﻿using System;

namespace LeanEngine.Data.Linq.Language
{
    public sealed class FromToken : IQueryToken
    {
        #region PropertyInfo Members

        public TableToken Table { get; set; }

        #endregion

        #region ILanguageToken Members

        public string GetStatement()
        {
            return "FROM " + this.Table.Name + " " + this.Table.Alias;
        }

        #endregion
    }
}
